﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CaricaPratiche.aspx.cs"
    MasterPageFile="~/common/pages/ASM.Master" Inherits="Com.AlbLab.CR.Web.pages.CaricaPratiche" %>

<%@ Register Src="../controls/GrigliaGenerica.ascx" TagName="GrigliaGenerica" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <div class="header-panel-gray">
        <div class="header-title">
            <div class="header-text-left">
                <label>
                    Caricamento pratiche</label>
            </div>
        </div>
    </div>
    <div class="content-panel-gray">
        <table>
            <tr>
                <td style="width: 240px">
                    FILE DA CARICARE
                </td>
                <td align="left" class="LabelBlack" style="width: 480px">
                    <asp:FileUpload ID="FileUpload1" runat="server" Width="100%" />
                </td>
                <td style="width: 240px">
                    Data arrivo file pratiche
                </td>
                <td align="left" class="LabelBlack" style="width: 480px">
                    <asp:TextBox ID="TXB_data_arrivo_pratica" runat="server"></asp:TextBox><asp:RegularExpressionValidator ID="VS1" runat="server" ErrorMessage="gg/mm/yyyy" ControlToValidate="TXB_data_arrivo_pratica" ValidationExpression="^(((0[1-9]|[12][0-9]|3[01])[- /.](0[13578]|1[02])|(0[1-9]|[12][0-9]|30)[- /.](0[469]|11)|(0[1-9]|1\d|2[0-8])[- /.]02)[- /.]\d{4}|29[- /.]02[- /.](\d{2}(0[48]|[2468][048]|[13579][26])|([02468][048]|[1359][26])00))$" ></asp:RegularExpressionValidator>
                </td>
                </tr>
                <tr>
                <td style="width: 120px">
                    <asp:Button ID="BTN_carica" runat="server" OnClick="BTN_carica_Click" Text="Carica file" /><asp:Button
                        ID="BTN_test" runat="server" OnClick="BTN_test_Click" Text="TEST - NON UTILIZZARE"
                        Visible="false" />
                </td>
            </tr>
        </table>
    </div>
    <div class="header-panel-gray">
        <div class="header-title">
            <div class="header-text-left">
                <label>
                    Dati caricamento</label>
            </div>
        </div>
    </div>
    <div class="content-panel-gray">
        <asp:Panel Visible="false" runat="server" ID="PNL_datiCaricamento">
            <asp:Label ID="Label1" runat="server" Text="FILE CARICATO: "></asp:Label>
            <asp:Label ID="LBL_filecaricato" runat="server" Text="Label"></asp:Label>
            <asp:Button ID="BTN_salvadb" runat="server" OnClick="BTN_salvadb_Click" Text="Salva DB file" />
            <asp:Button ID="BTN_risposta_ammiss" runat="server" OnClick="BTN_risposta_ammiss_Click"
                Text="Risposta Ammissibilità pratiche" />
            <asp:Label ID="LBL_messaggio" runat="server" Text="" Visible="false"></asp:Label>
        </asp:Panel>
    </div>
    <div class="header-panel-gray">
        <div class="header-title">
            <div class="header-text-left">
                <label>
                    Risultati</label>
            </div>
        </div>
    </div>
    <div class="content-panel-gray">
        <asp:Panel Visible="false" runat="server" ID="PNL_pratiche">
            <uc2:GrigliaGenerica ID="GrigliaGenerica1" runat="server" OnSelect="GrigliaGenerica1_OnSelect" />
        </asp:Panel>
    </div>
</asp:Content>
